import request from '@/utils/request'
// 区域管理
// 获取
export const getAreaListAPI = (params) => request.get('/parking/area/list', { params })
// 新增
export const addAreaAPI = (data) => request.post('/parking/area', data)
// 删除
export const deleteAreaAPI = (id) => request.delete(`/parking/area/${id}`)
// 获取详情
export const getAreaAPI = () => request.get(`/parking/area/dropList`)

// 月卡管理
export const getMothlyCardListAPI = (params) => request.get('/parking/card/list', { params })

// 计费规则管理
export const getBillingRuleListAPI = (params) => request.get('/parking/rule/list', { params })

// 停车缴费
export const getParkingPayMentListAPI = (params) => request.get('/parking/payment/list', { params })
